//
//  TemViewController.swift
//  weibo
//
//  Created by apple on 16/2/26.
//  Copyright © 2016年 apple. All rights reserved.
//

import UIKit

class TemViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        self.view.backgroundColor = UIColor.whiteColor()

        self.navigationItem.rightBarButtonItem = UIBarButtonItem(title: "push", style: .Plain, target: self, action: "push")
    }
    
    @objc private func push() {
    
        let temp = TemViewController()
        
        navigationController?.pushViewController(temp, animated: true)
    
    }
    
}
